(makefile-warn-continuations): Don't barf when there _aren't_ any
authorMiles Bader <miles@gnu.org>
Mon, 28 Oct 2002 08:15:29 +0000 (08:15 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 28 Oct 2002 08:15:29 +0000 (08:15 +0000)
suspicious continuations.

lisp/progmodes/make-mode.el

index 1a53455f534bc14826c2c454cf7be060f039bd77..9bc950f9be5604c4d391ae1b635238d37217b572 100644 (file)
@@ -1393,7 +1393,7 @@ and generates the overview, one line per target name."
   (if (eq major-mode 'makefile-mode)
       (save-excursion
        (goto-char (point-min))
-       (if (re-search-forward "\\\\[ \t]+$")
+       (if (re-search-forward "\\\\[ \t]+$" nil t)
            (not (y-or-n-p
                  (format "Suspicious continuation in line %d. Save anyway? "
                          (count-lines (point-min) (point)))))))))